package net.hhk.data;

public class User {
	private String fullname;
	private String username;
	private String avatar;
	private String email;
	private int tweer_number;
	private String bio;
	private String web;
	
	private int follower;
	private int following;
	private int userid;
	private boolean isfollowed;
	private boolean isLastStatus;
	private String location;

	public User() {
		
		follower = 0;
		following = 0;
	}
	public User(int id, String username,String screen, String url ){
		this.userid =id;
		this.username = username;
		this.fullname = screen;
		this.avatar = Constant.HOST+url;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = Constant.HOST+avatar;
	}
	public void setNoHostAvatar(String avatar){
		this.avatar = avatar;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	

	public int getFollower() {
		return follower;
	}

	public void setFollower(int follower) {
		this.follower = follower;
	}

	public int getFollowing() {
		return following;
	}

	public void setFollowing(int following) {
		this.following = following;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public int getTweer_number() {
		return tweer_number;
	}

	public void setTweer_number(int tweer_number) {
		this.tweer_number = tweer_number;
	}
	public boolean isIsfollowed() {
		return isfollowed;
	}
	public void setIsfollowed(boolean isfollowed) {
		this.isfollowed = isfollowed;
		this.isLastStatus = isfollowed;
	}
	public boolean isLastStatus() {
		return isLastStatus;
	}
	public void setLastStatus(boolean isLastStatus) {
		this.isLastStatus = isLastStatus;
	}
	public String getBio() {
		return bio;
	}
	public void setBio(String bio) {
		this.bio = bio;
	}
	public String getWeb() {
		return web;
	}
	public void setWeb(String web) {
		this.web = web;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}

	

}
